package Polymorphism1;

public class Teacher extends Person{
    @Override
    public void show(){
        System.out.println("老师的名字为:"+this.getName()+"年龄为："+this.getAge());
    }
}
